package com.xinqi.modules.stats.score.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 线下成绩等级分值设置表实体层
 *
 * @author: system
 * @date: 2023/03/26
 */
@Setter
@Getter
@TableName("co_course_total_score_offline_config")
public class CourseTotalScoreOfflineConfigEntity extends BaseEntity {
    /** 线下成绩主表id */
    @TableField(value = "offline_score_id")
    private Long offlineScoreId;
    /** 最大值 */
    @TableField(value = "max")
    private Integer max;
    /** 最小值 */
    @TableField(value = "min")
    private Integer min;
    /** 对应等级 */
    @TableField(value = "grade")
    private String grade;
    /** 等级颜色区分 */
    @TableField(value = "color")
    private String color;
    /** 排序字段 */
    @TableField(value = "sort")
    private Integer sort;
}
